import { App } from 'vue'
import MyChooseArea from './ChooseArea'
import MyChooseIcon from './ChooseIcon'
import MyTrend from './Trend'
import MyNotify from './Notify'
import MyList from './List'
import MyMenu from './Menu'

const components = [
  MyChooseArea,
  MyChooseIcon,
  MyTrend,
  MyNotify,
  MyList,
  MyMenu
]

export default {
  install(app: App) {
    components.forEach(item => {
      app.use(item)
    })
  }
}